Skip to content

Clear filter selections on count hover#9

Merged
debba merged 1 commit into
mainfrom
feat/filter-clear-all-hover
May 14, 2026
Merged

Clear filter selections on count hover#9
debba merged 1 commit into
mainfrom
feat/filter-clear-all-hover

Conversation

@debba
Copy link
Copy Markdown
Owner

@debba debba commented May 14, 2026

Closes #8.

Each filter section in the sidebar shows a count badge next to its title. When the section has active selections, hovering that badge now swaps the number for a "Clear all" label; clicking it wipes the selections for that single section (so you don't have to untick checkboxes one by one).

Works on Organizations, Repositories, Labels, Authors, Assignees, Languages, Visibility and Options. Clicking the badge no longer collapses/expands the section.

Test plan

  • Open the sidebar with active filters on Issues / PRs / Repos tabs
  • Hover the count badge of an active section → text becomes "Clear all"
  • Click it → the section's selections reset, other sections remain untouched
  • Verify the <details> doesn't toggle when clicking the badge

@debba debba merged commit cd67d1a into main May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick clean up

1 participant